package com.passengerflowmanagementsystem.statistics.domain;

import com.passengerflowmanagementsystem.common.annotation.Excel;
import com.passengerflowmanagementsystem.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备对象 em_equipment
 * 
 * @author sheng
 * @date 2024-10-28
 */
public class EmEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private Long equipmentId;

    /** 租户ID */
    @Excel(name = "租户ID")
    private Long tenantId;

    /** 展馆ID */
    @Excel(name = "展馆ID")
    private Long shopId;

    /** 展厅ID */
    @Excel(name = "展厅ID")
    private Long hallId;

    /** 展柜ID */
    @Excel(name = "展柜ID")
    private Long cabinetId;

    /** 网关ID */
    @Excel(name = "网关ID")
    private Long getwayId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 设备类型（1 恒湿机 ） */
    @Excel(name = "设备类型", readConverterExp = "1=,恒=湿机")
    private String type;

    /** 设备状态（0正常 1停用） */
    @Excel(name = "设备状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 展馆名称 */
    @Excel(name = "展馆名称")
    private String shopName;

    /** 展厅名称 */
    @Excel(name = "展厅名称")
    private String hallName;

    /** 展柜名称 */
    @Excel(name = "展柜名称")
    private String cabinetName;

    /** 网关名称 */
    @Excel(name = "网关名称")
    private String getwayName;

    public void setEquipmentId(Long equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId() 
    {
        return equipmentId;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setShopName(String shopName)
    {
        this.shopName = shopName;
    }

    public String getShopName()
    {
        return shopName;
    }
    public void setHallId(Long hallId) 
    {
        this.hallId = hallId;
    }

    public Long getHallId() 
    {
        return hallId;
    }
    public void setHallName(String hallName)
    {
        this.hallName = hallName;
    }

    public String getHallName()
    {
        return hallName;
    }
    public void setCabinetId(Long cabinetId) 
    {
        this.cabinetId = cabinetId;
    }

    public Long getCabinetId() 
    {
        return cabinetId;
    }
    public void setCabinetName(String cabinetName)
    {
        this.cabinetName = cabinetName;
    }

    public String getCabinetName()
    {
        return cabinetName;
    }
    public void setGetwayId(Long getwayId) 
    {
        this.getwayId = getwayId;
    }

    public Long getGetwayId() 
    {
        return getwayId;
    }
    public void setGetwayName(String getwayName)
    {
        this.getwayName = getwayName;
    }

    public String getGetwayName()
    {
        return getwayName;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("equipmentId", getEquipmentId())
            .append("tenantId", getTenantId())
            .append("shopId", getShopId())
            .append("hallId", getHallId())
            .append("cabinetId", getCabinetId())
            .append("getwayId", getGetwayId())
            .append("equipmentName", getEquipmentName())
            .append("type", getType())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
